package com.naiterui.ehp.bs.doctor.vo.followup;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class AdVisitSettingVO implements java.io.Serializable {

    private static final long serialVersionUID = 933272117834260996L;

    /**
     * 随访状态 1:已报道 2:取消
     */
    public static final int REPORT = 1;
    public static final int CANCEL = 2;

    @NotNull(message = "医生ID不能为null")
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;

    @NotNull(message = "随访ID不能为null")
    @ApiModelProperty(value = "随访ID")
    private Long id;

    @NotNull(message = "随访状态不能为null")
    @ApiModelProperty(value = "随访状态 1:已报道 2:取消")
    @Range(min = 1, max = 2, message = "随访只能为状态 1:已报道 2:取消")
    private Integer visitStatus;

    @ApiModelProperty(value = "原因或复诊记录")
    private String suggestion;

}
